/**
 * 
 */
package com.rapwaves.feeds.action;

import com.google.gwt.user.client.rpc.IsSerializable;
import com.rapwaves.feeds.action.converters.ActionConverter;
import com.rapwaves.feeds.action.converters.CommentActionConverter;
import com.rapwaves.feeds.action.converters.LikeActionConverter;
import com.rapwaves.feeds.action.converters.ShareActionConverter;

/**
 * @author asanthan
 * 
 */
public enum FeedActionType implements IsSerializable {

	LIKE, COMMENT, SHARE;

	public ActionConverter<?> getConverter() {
		switch (this) {
		case LIKE:
			new LikeActionConverter();
		case COMMENT:
			new CommentActionConverter();
		case SHARE:
			new ShareActionConverter();
		}
		return null;
	}
}
